import http from '@/utils/request'

// /api/doctor
export const patient = (params) => {
    return http({
      url: '/api/guwen/patient',
      method: 'post',
      data:params
    })
  }
export const patientDetail = (params) => {
    return http({
      url: 'api/guwen/patientDetail',
      method: 'post',
      data:params
    })
  }
export const addPatient = (params) => {
    return http({
      url: '/api/guwen/addPatient',
      method: 'post',
      data:params
    })
  }
  export const delhuanzhe = (params) => {
    return http({
      url: '/api/doctor/delhuanzhe',
      method: 'post',
      data:params
    })
  }
  export const messagelist = (params) => {
    return http({
      url: 'api/doctor/messagelist',
      method: 'post',
      data:params
    })
  }
  export const messagedetail = (params) => {
    return http({
      url: 'api/doctor/messagedetail',
      method: 'post',
      data:params
    })
  }
  export const addmessage = (params) => {
    return http({
      url: '/api/doctor/addmessage',
      method: 'post',
      data:params
    })
  }
  // 留言图片上传
  export const send_img = (params) => {
    return http({
      url: '/api/doctor/send_img',
      method: 'post',
      data:params
    })
  }
  export const yiyuanlist = (params) => {
    return http({
      url: '/api/guwen/yiyuanlist',
      method: 'post',
      data:params
    })
  }
  export const doctorlist = (params) => {
    return http({
      url: '/api/guwen/doctorlist',
      method: 'post',
      data:params
    })
  }
  export const RefreshPatientMa = (params) => {
    return http({
      url: '/api/doctor/RefreshPatientMa',
      method: 'post',
      data:params
    })
  }

  export const pgsga = (params) => {
    return http({
      url: '/api/doctor/pgsga',
      method: 'post',
      data:params
    })
  }
  export const pgsgaList = (params) => {
    return http({
      url: '/api/doctor/pgsgalist',
      method: 'post',
      data:params
    })
  }
  export const nrs2002 = (params) => {
    return http({
      url: 'api/doctor/nrs2002',
      method: 'post',
      data:params
    })
  }
  export const nrs2002List = (params) => {
    return http({
      url: 'api/doctor/nrs2002list',
      method: 'post',
      data:params
    })
  }
